home *** CD-ROM | disk | FTP | other *** search
-
-
-
- FIG2DEV(1) FIG2DEV(1)
-
-
- NNAAMMEE
- fig2dev - translates Fig code to various graphics languages
-
-
- SSYYNNOOPPSSIISS
- ffiigg22ddeevv --LL _l_a_n_g_u_a_g_e [ --mm _m_a_g ] [ --ff _f_o_n_t ] [ --ss _f_s_i_z_e ] [
- _o_t_h_e_r _o_p_t_i_o_n_s ] [ _f_i_g_-_f_i_l_e [ _o_u_t_-_f_i_l_e ] ]
-
-
- DDEESSCCRRIIPPTTIIOONN
- _F_i_g_2_d_e_v translates fig code in the named _f_i_g_-_f_i_l_e into the
- specified graphics _l_a_n_g_u_a_g_e and puts them in _o_u_t_-_f_i_l_e_. The
- default _f_i_g_-_f_i_l_e and _o_u_t_-_f_i_l_e are standard input and stan-
- dard output, respectively
-
- Fig (Facility for Interactive Generation of figures) is a
- screen-oriented tool which allows the user to draw and
- manipulate objects interactively. Various versions of Fig
- run under the Suntools/Sunview window environment and under
- version 11 of the X Windows System. Fig2dev is compatible
- with Fig versions 1.3, 1.4, 2.0, 2.1, 3.0 and 3.1.
-
-
- OOPPTTIIOONNSS
- --LL Set the output graphics language. Valid languages are
- bbooxx,, eeppiicc,, eeeeppiicc,, eeeeppiicceemmuu,, iibbmmggll,, llaatteexx,, nnuullll,, ppiicc,,
- ppiicctteexx,, ppss,, ppsstteexx,, ppsstteexx__tt,, tteexxttyyll,, mmff ((MMEETTAAFFOONNTT)) and
- ttppiicc..
-
- --mm Set the magnification at which the figure is rendered
- to _m_a_g_. The default is 1.0.
-
- --ff Set the default font used for text objects to _f_o_n_t_.
- The default is Roman; the format of this option depends
- on the graphics _l_a_n_g_u_a_g_e in use. In TeX-based lan-
- guages, the font is the base of the name given in
- lfonts.tex, for instance "cmr" for Roman, or "tt" for
- teletype. In PostScript, it is any font name known to
- the printer or interpreter.
-
- --ss Set the default font size (in points) for text objects
- to _f_s_i_z_e_. The default is 11*mag, and thus is scaled by
- the --mm option. If there is no scaling, the default
- font is eleven point Roman."
-
- --VV Print the program version number only.
-
- _o_t_h_e_r _o_p_t_i_o_n_s
- The other options are specific to the choice of graph-
- ics _l_a_n_g_u_a_g_e_, as described below.
-
-
- EEPPIICC OOPPTTIIOONNSS
- EPIC is an enhancement to LaTeX picture drawing environment.
-
-
-
- Release 3.1(.2) (Protocol 3.1) Aug 16, 1995 1
-
-
-
-
-
- FIG2DEV(1) FIG2DEV(1)
-
-
- It was developed by Sunil Podar of Department of Computer
- Science in S.U.N.Y at Stony Brook.
-
- EEPIC is an extension to EPIC and LaTeX picture drawing
- environment which uses tpic specials as a graphics mecha-
- nism. It was written by Conrad Kwok of Division of Computer
- Science at University of California, Davis.
-
- EEPIC-EMU is an EEPIC emulation package which does not use
- tpic specials.
-
- --ll Use "\\tthhiicckklliinneess" when width of the line is wider than
- _l_w_i_d_t_h_. The default is 2.
-
- --vv Include comments in the output file.
-
- --PP Generate a complete LaTeX file. In other words, the
- output file can be formatted without requiring any
- changes. The additional text inserted in the beginning
- and at the end of the file is controlled by the config-
- uration parameter "Preamble" and "Postamble".
-
- --SS Set the scale to which the figure is rendered. This
- option automatically sets the _m_a_g_n_i_f_i_c_a_t_i_o_n and size to
- _s_c_a_l_e / 12 and _s_c_a_l_e respectively.
-
- --WW Enable variable line width
-
- --ww Disable variable line width. Only "\\tthhiicckklliinneess" and/or
- "\\tthhiinnlliinneess" commands will be generated in the output
- file.
-
- When variable line width option is enabled, "\\tthhiinnlliinneess"
- command is still used when line width is less than
- _L_i_n_e_T_h_i_c_k. One potential problem is that the width of
- "\\tthhiinnlliinneess" is 0.4pt but the resolution of Fig is 1/80 inch
- (approx. 1pt). If _L_i_n_e_T_h_i_c_k is set to 2, normal lines will
- be drawn in 0.4pt wide lines but the next line width is
- already 2pt. One possible solution is to set _L_i_n_e_T_h_i_c_k to 1
- and set the width of the those lines you want to be drawn in
- "\\tthhiinnlliinneess" to 0.
-
- Due to this problem, Variable line width _V_a_r_W_i_d_t_h is
- defaulted to be false.
-
-
- IIBBMM--GGLL OOPPTTIIOONNSS
- IBM-GL (International Business Machines Graphics Language)
- is compatible with HP-GL (Hewlett-Packard Graphics Lan-
- guage).
-
- --aa Select ISO A4 (ANSI A) paper size if the default is
- ANSI A (ISO A4) paper size.
-
-
-
-
- Release 3.1(.2) (Protocol 3.1) Aug 16, 1995 2
-
-
-
-
-
- FIG2DEV(1) FIG2DEV(1)
-
-
- --cc Generate instructions for an IBM 6180 Color Plotter
- with (without) an IBM Graphics Enhancement Cartridge
- (IBM-GEC).
-
- --dd Restrict plotting to a rectangular area of the plotter
- paper which has a lower left hand corner at _(_x_l_l_,_y_l_l_)
- and a upper right hand corner at _(_x_u_r_,_y_u_r_)_. All four
- numbers are in inches and follow --dd in a comma-sparated
- list - _x_l_l_,_y_l_l_,_x_u_r_,_y_u_r - with no spaces between them.
-
- --ff Load text character specifications from the table in
- the _f_o_n_t_s file. The table must have 36 entries - one
- for each font plus a default. Each entry consists of 5
- numbers which specify the 1.) standard character set (0
- - 4, 6 - 9, 30 - 39), 2.) alternate character set (0 -
- 4, 6 - 9, 30 - 39), 3.) character slant angle
- (degrees), 4.) character width scale factor and 5.)
- character height scale factor.
-
- --ll Load area fill line patterns from the table in the _p_a_t_-
- _t_e_r_n_s file. The table must have 21 entries - one for
- each of the area fill patterns. Each entry consists of
- 5 numbers which specify the 1.) pattern number (-1 -
- 6), 2.) pattern length (inches), 3.) fill type (1 - 5),
- 4.) fill spacing (inches) and 5.) fill angle (degrees).
-
- --mm The magnification may appear as the first element in a
- comma sepatated list - _m_a_g_,_x_0_,_y_0 - where the second and
- third parameters specify an offset in inches.
-
- --pp Load plotter pen specifications from the table in the
- _p_e_n_s file. The table must have 9 entries - one for
- each color plus a default. Each entry consists of 2
- numbers which specify the 1.) pen number (1 - 8) and
- 2.) pen thickness (millimeters).
-
- --PP Rotate the figure to portrait mode. The default is
- landscape mode.
-
- --SS Set the pen speed to _s_p_e_e_d (centimeters/second).
-
- --vv Plot the figure upside-down in portrait mode or back-
- wards in landscape mode. This allows you to write on
- the top surface of overhead transparencies without dis-
- turbing the plotter ink on the bottom surface.
-
- Fig2dev may be installed with either ANSI A or ISO A4
- default paper size. The --aa option selects the alternate
- paper size. Fig2dev does not fill closed splines. The IBM-
- GEC is required to fill other polygons. Fig2dev may be
- installed for plotters with or without the IBM-GEC. The --cc
- option selects the alternate instruction set.
-
-
-
-
-
- Release 3.1(.2) (Protocol 3.1) Aug 16, 1995 3
-
-
-
-
-
- FIG2DEV(1) FIG2DEV(1)
-
-
- LLAATTEEXX OOPPTTIIOONNSS
- --ll Sets the threshold between LaTeX thin and thick lines
- to _l_w_i_d_t_h pixels. LaTeX supports only two different
- line width: \thinlines and \thicklines. Lines of width
- greater than _l_w_i_d_t_h pixels are drawn as \thicklines.
- Also affects the size of dots in dotted line style.
- The default is 1.
-
- --dd Set a separate magnification for the length of line
- dashes to _d_m_a_g_.
-
- --vv Verbose mode.
-
- LaTeX cannot accurately represent all the graphics objects
- which can be described by Fig. For example, the possible
- slopes which lines may have are limited. Some objects, such
- as spline curves, cannot be drawn at all. Fig2latex chooses
- the closest possible line slope, and prints error messages
- when objects cannot be drawn accurately
-
-
- PPIICC OOPPTTIIOONNSS
- --pp Enables the use of certain PIC extensions which are
- known to work with the groff package; compatibility
- with DWB PIC is unknown. The extensions enabled by
- each option are:
-
-
- aarrcc Allow ARC_BOX i.e. use rounded corners
-
- lliinnee Use the 'line_thickness' value
-
- ffiillll Allow ellipses to be filled
-
- aallll Use all of the above
-
- ppssffoonntt
- Don't convert Postscript fonts generic type (useful for
- files going to be Ditroff'ed for and printed on PS
- printer). DWB-compatible.
-
- aallllppss
- Use all of the above (i.e. "all" + "psfont")
-
-
- PPIICCTTEEXX OOUUTTPPUUTT
- In order to include PiCTeX pictures into a document, it is
- necessary to load the PiCTeX macros.
-
- PiCTeX uses TeX integer register arithmetic to generate
- curves, and so it is very slow. PiCTeX draws curves by
- \\ppuutt-ing the _p_s_y_m_b_o_l repeatedly, and so requires a large
- amount of TeX's internal memory, and generates large DVI
- files. The size of TeX's memory limits the number of plot
-
-
-
- Release 3.1(.2) (Protocol 3.1) Aug 16, 1995 4
-
-
-
-
-
- FIG2DEV(1) FIG2DEV(1)
-
-
- symbols in a picture. As a result, it is best to use PiCTeX
- to generate small pictures.
-
-
- PPOOSSTTSSCCRRIIPPTT OOPPTTIIOONNSS
- With PostScript, Fig can be used to create large posters.
- The figure will be created by printing multiple pages which
- can be glued together. Simply specify the -M option to pro-
- duce a multi-page output. Due to memory limitations of most
- laser printers, the figure should not be too complicated.
- Great for text with very big letters.
-
- Text can now include various ISO-character codes above 0x7f,
- which is useful for language specific characters to be
- printed directly. Not all ISO-characters are implemented.
-
- Color support: Colored objects created by Fig can be printed
- on a color postscript printer. There are 32 standard colors:
- black, yellow, white, gold, five shades of blue, four shades
- of green, four shades of cyan, four shades of red, five
- shades of magenta, four shades of brown, and four shades of
- pink. In addition there may be user-defined colors in the
- file. See the xfig FORMAT3.1 file for the definition of
- these colors. On a monochrome printer, colored objects will
- be mapped into different grayscales by the printer. Filled
- objects are printed using the given area fill and color.
- There are 21 "shades" going from black to full saturation of
- the fill color, and 21 more "tints" from full saturation + 1
- to white. In addition, there are 16 patterns such as
- bricks, diagonal lines, crosshatch, etc.
-
- --cc option centers the figure on the page. The centering
- may not be accurate if there are texts in the _f_i_g___f_i_l_e
- that extends too far to the right of other objects.
-
- --ee option puts the figure against the edge (not centered)
- of the page.
-
- --ll dduummmmyy__aarrgg
- Generate figure in landscape mode. The dummy argument
- is ignored, but must appear on the command line for
- reasons of compatibility. This option will override
- the orientation specification in the file (for file
- versions 3.0 and higher).
-
- --MM Generate multiple pages if figure exceeds page size.
-
- --pp dduummmmyy__aarrgg
- Generate figure in portrait mode. The dummy argument
- is ignored, but must appear on the command line for
- reasons of compatibility. This option will override
- the orientation specification in the file (for file
- versions 3.0 and higher). This is the default for Fig
- files of version 2.1 or lower.
-
-
-
- Release 3.1(.2) (Protocol 3.1) Aug 16, 1995 5
-
-
-
-
-
- FIG2DEV(1) FIG2DEV(1)
-
-
- --PP indicates that the figure describes a full page which
- will not necessarily be inserted into a document, but
- can be sent directly to a PS printer. This ensures
- that a showpage command is inserted at the end of the
- figure.
-
- --nn nnaammee
- Set the Title part of the PostScript output to _n_a_m_e_.
- This is useful when the input to _f_i_g_2_d_e_v comes from
- standard input.
-
- --xx ooffffsseett
- shift the figure in the X direction by _o_f_f_s_e_t units
- (1/72 inch). A negative value shifts the figure to the
- left and a positive value to the right.
-
- --yy ooffffsseett
- shift the figure in the Y direction by _o_f_f_s_e_t units
- (1/72 inch). A negative value shifts the figure up and
- a positive value down.
-
- --zz ppaaggeessiizzee
- Sets the pagesize. Available page sizes are "Letter"
- (8.5" x 11"), "Legal" (11" x 14") "Ledger" (11" x 17"),
- "A4" (21cm x 29.7cm), and "B5" (18.2cm x 25.7cm).
-
-
-
- PPSSTTEEXX OOPPTTIIOONNSS
- The ppsstteexx language is a variant of ppss which suppresses for-
- matted (special) text. The ppsstteexx__tt language has the
- complementary behavior: it generates only LaTeX com-
- mands necessary to position special text, and to over-
- lay the PostScript file generated using ppsstteexx.. These
- two drivers can be used to generate a figure which com-
- bines the flexibility of PostScript graphics with LaTeX
- text formatting of special text.
-
- The ppsstteexx__tt option --pp ffiillee specifies the name of the
- PostScript file to be overlaid. If not set or its
- value is null then no PS file will be inserted.
-
-
-
- TTEEXXTTYYLL OOPPTTIIOONNSS
- There are no TeXtyl-specific options.
-
-
- MMEETTAAFFOONNTT OOPPTTIIOONNSS
- --CC ccooddee
- specifies the starting METAFONT font code.
-
- --nn nnaammee
- specifies the name to use in the output file.
-
-
-
- Release 3.1(.2) (Protocol 3.1) Aug 16, 1995 6
-
-
-
-
-
- FIG2DEV(1) FIG2DEV(1)
-
-
- --pp ppeenn
- specifies the size of the METAFONT pen.
-
- --tt ttoopp
- specifies the top of the whole coordinate system.
-
- --xx xxnneegg
- specifies the minimum x coordinate value of the figure
- (inches).
-
- --yy yynneegg
- specifies the minumum y coordinate value of the figure
- (inches).
-
- --XX xxppooss
- specifies the maximum x coordinate value of the figure
- (inches).
-
- --YY yyppooss
- specifies the maximum y coordinate value of the figure
- (inches).
-
-
-
- TTPPIICC OOPPTTIIOONNSS
- There are no tpic-specific options.
-
-
- SSEEEE AALLSSOO
- [x]fig(1), pic(1) pic2fig(1), transfig(1)
-
- CCOOPPYYRRIIGGHHTT
- Copyright (c) 1985 Supoj Sutantavibul
- Copyright (c) 1991 Micah Beck
-
- Permission to use, copy, modify, distribute, and sell this
- software and its documentation for any purpose is hereby
- granted without fee, provided that the above copyright
- notice appear in all copies and that both that copyright
- notice and this permission notice appear in supporting docu-
- mentation. The authors make no representations about the
- suitability of this software for any purpose. It is pro-
- vided "as is" without express or implied warranty.
-
- THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
- SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABIL-
- ITY AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR
- ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAM-
- AGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
- WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TOR-
- TIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
- OR PERFORMANCE OF THIS SOFTWARE.
-
-
-
-
-
- Release 3.1(.2) (Protocol 3.1) Aug 16, 1995 7
-
-
-
-
-
- FIG2DEV(1) FIG2DEV(1)
-
-
- AAUUTTHHOORRSS
- Micah Beck
- Cornell University
- Sept 28 1990
-
- and Frank Schmuck (then of Cornell University)
- and Conrad Kwok (then of U.C. Davis).
-
- drivers contributed by
- Jose Alberto Fernandez R. (U. of Maryland)
- and Gary Beihl (MCC)
-
- Color support, ISO-character encoding and poster support by
- Herbert Bauer (heb@regent.e-technik.tu-muenchen.de)
-
- Modified from f2p (fig to PIC), by the author of Fig
- Supoj Sutanthavibul (supoj@sally.utexas.edu)
- University of Texas at Austin.
-
- MetaFont driver by
- Anthony Starks (ajs@merck.com)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Release 3.1(.2) (Protocol 3.1) Aug 16, 1995 8
-
-
-